package csu.web.credit_bank.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import csu.web.credit_bank.pojo.Posts;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 于欣淇
* @description 针对表【posts(论坛主题表)】的数据库操作Mapper
* @createDate 2025-06-27 20:08:16
* @Entity csu.web.credit_bank.pojo.Posts
*/
@Mapper
public interface PostsMapper extends BaseMapper<Posts> {
    List<Posts> selectPostsWithCommentCount(@Param("id") String id);
}




